package com.yxc.plan.wolf.domain;

import com.fasterxml.jackson.databind.ser.Serializers;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
* @Description : 
* @Author      : abc@.com
* @Date        : 2019-01-15 13:36
*/
@Entity
@Table(name = "t_products")
public class Product extends BaseEntity {

    private Long productId;
    private String productName;
    private String productPhoto;
    private Double productPrice;
    private Double productValue;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductPhoto() {
        return productPhoto;
    }

    public void setProductPhoto(String productPhoto) {
        this.productPhoto = productPhoto;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public Double getProductValue() {
        return productValue;
    }

    public void setProductValue(Double productValue) {
        this.productValue = productValue;
    }

    @Override
    public String toString() {
        return "Product{" +
                ", productId=" + productId +
                ", productName='" + productName + '\'' +
                ", productPhoto='" + productPhoto + '\'' +
                ", productPrice=" + productPrice +
                ", productValue=" + productValue +
                '}';
    }
}
